#if !defined(AFX_DLGLOADLIB_H__545E9F35_679E_4F95_A819_750C10322563__INCLUDED_)
#define AFX_DLGLOADLIB_H__545E9F35_679E_4F95_A819_750C10322563__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// DlgLoadLib.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CDlgLoadLib dialog

class CDlgLoadLib : public CDialog
{
// Construction
public:
	HMODULE m_hmoudle;
	CDlgLoadLib(CWnd* pParent = NULL);   // standard constructor

// Dialog Data
	//{{AFX_DATA(CDlgLoadLib)
	enum { IDD = IDD_DLG_LOADLIB };
	CString	m_csDllName;
	CString	m_csFunName;
	DWORD	m_dwProcessId;
	//}}AFX_DATA
	BOOL WINAPI InjectLibW(DWORD dwProcessId, char * pszLibFile);
	int RunProcessFun(DWORD PID,char * DLLNAME,char * funname);

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CDlgLoadLib)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CDlgLoadLib)
	virtual BOOL OnInitDialog();
	afx_msg void OnBNLoadLib();
	afx_msg void OnBnCallfun();
	afx_msg void OnBnLoadDlltool();
	afx_msg void OnBnHook();
	afx_msg void OnBnHookdllPid();
	afx_msg void OnBnHookdllPname();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
public:
	afx_msg void OnBnClickedButton1();
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_DLGLOADLIB_H__545E9F35_679E_4F95_A819_750C10322563__INCLUDED_)
